-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[11.0][MIG] account_invoice_update_wizard #75
base: 11.0
Are you sure you want to change the base?
Conversation
Account Invoice Update Wizard | ||
============================= | ||
|
||
This module adds a button *Update Invoice* on Customer and Supplier invoices in Open or Paid state. This button starts a wizard which allows the user to update non-legal fields of the invoice: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move 'This button starts...' to a new line
|
||
* Source Document | ||
* Reference/Description | ||
* Payment terms (update allowed only to a payment term with same number of terms of the same amount and on invoices without any payment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same: make this more readable... new lines are cheap ;)
|
||
class TestAccountInvoiceUpdateWizard(TransactionCase): | ||
|
||
def setUp(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use SavepointCase + setUpClass + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True))
|
||
""", | ||
'author': 'Akretion', | ||
'website': 'http://www.akretion.com', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this is published on odoo apps it would be better to have https://github.com/akretion/odoo-usability
@@ -0,0 +1,29 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<!-- | |||
© 2017 Akretion (Alexis de Lattre <[email protected]>) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copyright
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please doing readme like this https://github.com/OCA/maintainer-tools/tree/master/template/module/readme
and improving fields declaration indentation like :
fields_id = fields.Many2one(
'module.[...]',
string='My name',
required=True,
readonly=True
)
No description provided.